/*
 * xScopeLock.h
 *
 *  Created on: 2009/12/07
 *      Author: Peter.Song
 */
#ifndef SCOPELOCK_H
#define SCOPELOCK_H

#include <pthread.h>

class CXScopeLock{
public:
	CXScopeLock(pthread_mutex_t* mutex);
	virtual ~CXScopeLock();
private:
	pthread_mutex_t* mp_mutex;
};

#endif
